enum HttpMethod{GET,POST}

abstract class BaseRequest{
  String url(){
    return "api.devio.org";
  }
  HttpMethod httpMethod();
  String path();
  bool needLogin();
  Map<String,String> params = Map();

  Map<String,String> add(String k,String v){
    params[k] =v.toString();
    return params;
  }
}